package com.example.shixun.dao;

import com.example.shixun.pojo.Chapter;
import com.example.shixun.pojo.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author XDW
 * @Version 1.0
 * @date 2023/6/21 17:04
 */
@Mapper
public interface ChapterDao {
    public Integer       saveChapter(Chapter Chapter);
    public Integer       deleteChapterById(int id);
    public Integer       deleteChapterByName(String name);
    public Chapter       selectChapterById(int id);
    public Chapter       selectChapterByName(String name);
    public List<Chapter> selectChapterAll();
    public Integer       updateChapter(Chapter Chapter);




}
